package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Teacher)实体类
 *
 * @author zjx
 * @since 2021-05-14 19:35:33
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("Teacher讲师实体类")
public class Teacher implements Serializable {
    private static final long serialVersionUID = -91260377190964287L;
    @ApiModelProperty("讲师id")
    private Integer id;
    @ApiModelProperty("讲师账号")
    private String account;
    @ApiModelProperty("讲师密码")
    private String password;
    @ApiModelProperty("讲师姓名")
    private String name;
    @ApiModelProperty("讲师邮箱")
    private String email;
    @ApiModelProperty("上次登录时间")
    private Date currentLoginTime;
    @ApiModelProperty("讲师头像")
    private String headPicture;
    @ApiModelProperty("讲师状态")
    private String status;
    @ApiModelProperty("讲师个人介绍")
    private String selfIntroduction;
    @ApiModelProperty("讲师标签")
    private String label;
    @ApiModelProperty("讲师类型id")
    private Integer teacherTypeId;
    @ApiModelProperty("角色id")
    private Integer roleId;
    @ApiModelProperty("创建者")
    private String creater;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("修改时间")
    private Date updateTime;


}
